﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

namespace Ymatou.UserAuth.Agent.Utility
{
    public class YmatouUserSession
    {
        public static string GetValueByCookieValues(string cookieKey, string valueKey, string defVal = "")
        {
            var cookie = HttpContext.Current.Request.Cookies[cookieKey];
            if (cookie == null) return defVal;
            return cookie.Values[valueKey];
        }
    }
}
